package com.ccit.course.repository;

import com.ccit.model.CourseOrder;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseOrderRepository extends MongoRepository<CourseOrder,String> {

    List<CourseOrder> findCourseOrderByMemberPhoneOrderByTime(String phone);
}
